package com.aya.aop.custom.intro;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.aop.support.DelegatingIntroductionInterceptor;
import org.springframework.stereotype.Service;

@Service
public class MyIntroductionInterceptor extends DelegatingIntroductionInterceptor implements FlyInterface {

    @Override
    public void fly() {
        logger.info("fly");
    }

    private static final Logger logger = LoggerFactory.getLogger(MyIntroductionInterceptor.class);
}
